//
//  CADelBankCardApi.m
//  LNH
//
//  Created by twentylx on 2018/2/8.
//  Copyright © 2018年 twentylx. All rights reserved.
//

#import "CADelBankCardApi.h"

@implementation CADelBankCardApi {
    NSString *_cardId;
}

- (instancetype) initWithCardId:(NSString *) cardId {
    self = [super init];
    if (self) {
        _cardId = cardId;
    }
    return self;
}

-(YTKRequestMethod)requestMethod{
    return YTKRequestMethodPOST;
}

-(id)requestArgument{
    return @{
             @"token":GVUD.token,
             @"id":_cardId,
             };
}

-(NSString *)requestUrl{
    NSLog(@"%@", [NSString stringWithFormat:@"%@UserBank/delete",BASE_SERVICE_DOMAIN]);
    return [NSString stringWithFormat:@"%@UserBank/delete",BASE_SERVICE_DOMAIN];
    
    
}

@end
